package com.cug.nageoffer.common.mapper;

import com.cug.nageoffer.model.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> selectByParentId(Long parentId);

    int countByParentId(Long parentId);
}
